<?php

use yii\helpers\Html;
use common\models\articles\Articles;
    $tongzhi = Articles::find()->where(['category_id'=>18])->asArray()->limit(10)->all();
    $hangye = Articles::find()->where(['category_id'=>28])->asArray()->limit(10)->all();
    $xinwen = Articles::find()->where(['category_id'=>14])->asArray()->limit(10)->all();

/* @var $this yii\web\View */
/* @var $model common\models\meeting\Meetingenroll */
$controllerID = Yii::$app->controller->id;
$actionID = Yii::$app->controller->action->id;

$this->title = Yii::t('app', '填写信息');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', '填写信息'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<style>
    #edit {
        height: 27px;
        min-width: 34px;
        display: inline-block;
        background: url(../../Content/icon/edit.png) no-repeat;
        background-position: 10px 9px;
    }

    b.txtPayInfo {
        max-width: 550px;
        line-height: 20px;
    }

        b.txtPayInfo p {
            padding-left: 0 !important;
        }
    </style>
<style>
        html, body {
            background: #fff;
        }

        .content_panel {
            margin: 0;
        }

        .form_Pontent ul li {
            margin-bottom: 10px;
        }

            .form_Pontent ul li label {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                margin-right: 20px;
            }

            .form_Pontent ul li input[type='submit'].button {
                text-indent: 0;
                font-size: 13px;
                width: 130px;
                height: 40px;
                background: #242424;
                color: #fff;
                display: inline-block;
                line-height: 40px;
                margin: 0;
            }

                .form_Pontent ul li input[type='submit'].button:hover {
                    background: #333;
                    color: #e3e3e3;
                }

        font.prompt {
            width: 26%;
        }

        .k-widget.k-tooltip.k-tooltip-validation.k-invalid-msg {
            float: left;
            margin: 0 0 10px 160px;
        }
    </style>

    <style>
        body{    min-width: 1000px;}
        .form_Pontent ul li input[mobile="mobile"] {
            width: 70% !important;
            float: left;
        }

        .form_Pontent ul li input[type='number'] {
            float: left;
        }

        .iframe_liBtn {
            position: fixed;
            bottom: 0;
            left: 0;
            margin: 0 !important;
            text-align: right !important;
            background-color: #f9f9f9;
            padding: 1px 0 !important;
            border-top: 1px solid #e4e4e4;
        }
        .content_panel {
            margin: 0;
        }

        .form_Pontent ul li input[type='button'].button {
            text-indent: 0;
            font-size: 13px;
            width: 130px;
            height: 40px;
            background: #242424;
            color: #fff;
            display: inline-block;
            line-height: 40px;
            margin: 0;
        }

            .form_Pontent ul li input[type='button'].button:hover {
                background: #333;
                color: #e3e3e3;
            }

        /*取色控件*/
        .k-widget.k-colorpicker.k-header {
            float: right;
        }

        .k-picker-wrap.k-state-default {
            border: 0;
            height: 40px;
        }

        .k-state-default > .k-select {
            width: 34px;
            background: #fff;
            border: 1px solid #ccc;
            height: 38px;
        }

        .k-icon.k-i-arrow-s {
            margin-top: 12px;
        }

        .k-colorpicker .k-selected-color {
            background-color: rgb(204, 204, 204);
            height: 38px;
            width: 52px;
            border-radius: 0;
            border: 1px solid #ccc;
        }

        .menu_color{color:#ffffff} .design_content{background-color:#cccccc} .design_menu{background-color:#333333} .menu_color{color:#ffffff}
    </style>
<div class="design_content" style="margin-bottom: -10px;">
                            <div class="design_banner" style="top: 0">
                                <div class="design_title" style="">
                                    <div class="title_center">
                                        <p class="txt_title"><?= $setinfo['ac_name'] ?></p>
                                        <p class="txt_time"><?= date('Y-m-d H:i:s',$setinfo['start_time']) ?></p>
                                        <p class="txt_place"></p>
                                    </div>
                                </div>
                                <img src="<?= yii::getAlias('@web');?>/images/banner.jpg" style="width: 100%;">
                            </div>
                            <div class="design_menu" style="margin-top: 0">
                                    <a class="menu_color cur" href="http://new.mymova.com/ruoze/Event68321/SelectTicket" target="_self">报名注册</a>
                            </div>

                    <div class="design_form">
                        <div class="form_Pontent">
<ul style=" padding:25px;">
    <li class="page-top"></li>
    <li style="margin-top: 10px;margin-left:80px; margin-bottom:20px;">
            
            <span onclick="enrollUrlJump('http://new.mymova.com/ruoze/Event68321/SelectTicket?e=1')" class="circular" style=" cursor: pointer;">1</span>
            <font class="prompt ">填写信息</font>
            <span class="circular cur">2</span>
            <font class="prompt ">确认报名</font>
                <span class="circular ">3</span>
            <b class="b_txt">报名成功</b>

        </li>
    <li>
        <!--报名人员信息-->
        <!--报名人员信息-->
        <div class="div-enrollinfo">
            <ul> 
                <li class="li-info"><span>报名信息</span>
                    <?php if($setinfo['ac_cost']!=0) { ?>
                    <b>合计<em> ￥  10</em></b>
                    <?php } ?>
                </li>
                <li>
                    <div class="div-content">
                                <dl class="dl-left"><dt>&nbsp;</dt><dd><strong class="fold"><i id="icon" class="icon_undrop"></i>1730205040@qq.com</strong></dd></dl>
                                <dl class="dl-right"><dt>价格</dt><dd class="dd-center"><strong><?php if($setinfo['ac_cost']!=0) {  echo $setinfo['ac_cost']?>  <?php } else { echo '￥  0';}?></strong></dd></dl>                           
                                <dl class="dl-right"><dt>报名信息</dt><dd class="tset"><?= $setinfo['ac_name'] ?></dd></dl>
                    </div>
                    <ol class="ol-fold">
                        <?php foreach($list as $key=>$vo){ ?>
                            <li>
                                <label title="<?= $vo['name'] ?>"><?= $vo['name'] ?></label>
                                <span class="tset" title="<?= $vo['value'] ?>"><?= $vo['value'] ?></span>
                            </li>
                        <?php } ?>
                    </ol>
                </li>
            </ul>
        </div>
    </li>
    <li class="li-info">
        <?php if($setinfo['ac_cost']!=0) { ?>
        <span title="支付信息 ">支付信息 </span><b>应支付 <em> ￥  10</em></b>
        <?php } ?>
    </li>
    <li>
    <div>
        <ul class="div-content" style="margin: 30px 25px;">
            <?php if($setinfo['ac_cost']!=0) { ?>
             <li><label class="tset">待支付金额 </label><em>￥  10 </em></li>
            <li>
                <label class="tset">支付方式 </label>
            
                <select style="min-width: 200px; display: " name="PayType" required="" id="PayType">
                    <option value="">请选择一种支付方式 </option>
                            <option value="1" data-value="&amp;lt;p&amp;gt;点击“确认提交”，将前往支付平台进行在线支付操作。&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;*多种支付方式，轻松解决支付问题*&amp;lt;/p&amp;gt;*为确保您的隐私安全，请尽量避免在网吧等公共场所进行支付*">支付宝</option>
                            <option value="4" data-value="点击“确认提交”，然后使用手机微信扫描屏幕上出现的二维码进行支付。">微信支付</option>
                            <option value="10" data-value="请持报名成功的电子凭证（报名确认邮件或确认短信）前往现场缴费处缴费。">现场支付</option>
                            <option value="13" data-value="&amp;lt;p&amp;gt;请注意页面的银行转账信息。&amp;lt;/p&amp;gt;转账完成后请组织者联系。组织者确认您的付款后，将以电子邮件或短信的形式给您发送确认通知。">银行转账</option>
                            <option value="16" data-value="&amp;lt;p&amp;gt;点击“确认提交”，将前往支付平台进行在线支付操作。&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;*多种支付方式，轻松解决支付问题*&amp;lt;/p&amp;gt;*为确保您的隐私安全，请尽量避免在网吧等公共场所进行支付*">网银支付</option>
            
                        <option value="0" selected="selected">稍后支付</option>
                </select>
                        <span id="payTypeName" style="min-width: 200px; display: inline-block;"></span>
                        <span style="display: inline-block; vertical-align: -webkit-baseline-middle;"><a class="k-grid-edit" href="javascript:void(0)" onclick="showSelect(this) " title="编辑" id="edit"><span class="k-grid-icon"></span></a></span>
            
            
            </li>
            <li class="lierr"><span class="k-invalid-msg" data-for="PayType"></span></li>
            <li class="payChannel banks" style="display: none">
                    <ol style="width: 615px; display: table; margin: 0 auto;">
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="ICBCB2C" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/ICBC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CMB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/CMB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CCB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/CCB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="BOCB2C" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/BOC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="ABC" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/ABC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="COMM" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/COMM_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="SPDB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/SPDB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="GDB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/GDB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CITIC" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/CITIC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CEBBANK" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/CEB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CIB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/CIB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CMBC" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/CMBC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="HZCBB2C" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/HZCB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="SHBANK" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/SHBANK_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="NBBANK" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/NBBANK_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="SPABANK" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/SPABANK_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="BJRCB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/BJRCB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="ICBCBTB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/ENV_ICBC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="CCBBTB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/ENV_CCB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="SPDBB2B" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/ENV_SPDB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="ABCBTB" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/ENV_ABC_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="fdb101" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/FDB_OUT.gif" border="0">
                                    </li>
                                    <li style="width: 32%; float: left; clear: none;">
                                        <input name="Ali_bank_type" value="PSBC-DEBIT" type="radio">&nbsp;<img src="<?= yii::getAlias('@web');?>/images/PSBC_OUT.gif" border="0">
                                    </li>

                    </ol>
            </li>
            <li class="lierr"><span class="k-invalid-msg" data-for="Ali_bank_type"></span></li>
            <li class="payChannel wechat" style="display: none;">
                <img style="margin: 0 auto; display: block;" src="<?= yii::getAlias('@web');?>/images/guidance.jpg">
            </li>
            <li>
                <label class="tset functionHide" data-for="CurrentPayMsg" title="支付信息">支付信息</label>
                <b id="txtPayInfo" class="tset txtPayInfo"></b>
                <div style="margin-left: 160px;">

                </div>
            </li>
            <?php } ?>
        </ul>
    </div>
    </li>
    <li style="text-align: center;margin: 40px 0 0 0;">
        <form id="comfirmForm" method="POST" action="<?= yii\helpers\Url::to(['meetingenroll/bmsuccess']);?>" >
            <input name="_csrf" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>">
            <input name="ac_id" value="<?= $setinfo['ac_id'] ?>" type="hidden">
            <input name="bd_id" value="<?= $bd_id ?>" type="hidden">
            <input name="status" value="1" type="hidden">
            <input name="payType" id="hidPayType" type="hidden">
            <input name="bankCode" id="hidBankCode" type="hidden">
            <input class="button login" value="确认提交" style="text-align: center; "  type="submit">
        </form>
    </li>
    <li class="page-bottom">
    </li>
    </ul>
   </div>
   </div>
</div>
<script>
        $(function(){
            $(".login").click(function(){
                $("#comfirmForm").submit();
            })
        })
</script>        